import axios from "@/utils/axios";

export function login(data) {
    return axios({
        url: "/login",
        method: "POST",
        data:data
    })
}

export function getCaptcha() {
    return axios({
        url: '/captcha',
        method: "GET"
    })
}

export function logout(){
    return axios({
        url:'/logout',
        method:'GET',
    })
}
